Developer Documentation

QuickTime 4 API Documentation

Wired Movies and Sprites

| Previous | Chapter Contents | Chapter Top | Next |

Actions of the First Penguin

The first penguin shows all of the buttons when the mouse enters it, and hides them when the mouse exits. The first penguin is the only sprite which has properties that are overriden by the override sprite samples. These samples override its matrix in order to move it, and its image index in order to make it waddle.

When you mouse-click on the second penguin, the penguin changes its image index to its "eyes closed" image. When the mouse is released, it changes back to its normal image. This makes the penguin's eyes appear to blink when clicked on. When the mouse is released over the penguin, several other actions are triggered. Both penguins' graphics states are toggled between copyMode and blendMode , and the movie's rate is toggled between 0 and 1.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |